fixed startup file, which checks multiple instances of app running

closes issue