Correct app relaunch handling

Signed-off-by: Simon Busch <morphis@gravedo.de>