Don't reboot the app if it currently has focus

Checks to make sure that Flowdock doesn't currently have focus before restarting it, in case you're in the middle of typing a message or reading something.