This should fix it not running until the navigation is clicked?