Added key listiners to buttons