Added code for stepping off buttons