Added button press functions and vars