Added a check to prevent multiple instances of the application, but it feels like I'm just annoying the user like this