implemented change in background (dashboard only) when mode is changed