$ 0 0 You need to set a flag for this.I have a sample for an on/off button that follows the same principle. buttons on-off.zip - Box