Fix onKeyDown func to allow pressing back button @BOOtak