Added refresh logic to jump command so that the window would appear on top