reload last open app using cookie