Rewritten methods of buttons