Add refresh-mode to only update after returning from a command