Fixed Purge button not appearing after toggling on. Bug #3845.

Moved the call to refresh the endpointBar and the delete button toggle to the applicationDidBecomeActive call which is sent by the App Delegate.