Added KeyHandlers in MainPage