Fix app page refresh