Added key listeners for buttons