Fix with closing app