Fix bug where multiple view controllers could be pushed simultaneously, especially with settings screen