changed singletop and singleinstance behaviour