save colors and toggle grid layout