Added button press mechanism