Added events for keyboard buttons