Added flash to UI element
Before launching exiting the application if it is already running