Add single instance application behaviour