Edit button now consistently works

There was a race condition where self.rootViewController would be nil
during didShowViewController: of instance RootViewController.

This fix updates the condition to bind the edit button whenever an
instance of RootViewController is being shown.