Fixed app starts after closing login window wo login