Set control text depending on mode.