modified button ON/OFF