App window was not shown on notification click sometimes