Fixed UI related bugs

Fixed UI related bugs
Why do you cancel navigation? Isn't ignoring the key a better behavior?