Fixed so it checks if the application is already running when "set activation time" is pressed