I suspect the culprit is your refresh method..

If you remove, or comment them out, does the navigation works fine ?

Just for sake of troublheshooting.