show the last window when resume from background.