Fixed a bug when changing background.
Changed modes for all files.