prevent more than 1 instances of app from running