Hide keyboard when main page is activated