Key Events working properly