Actions added to switch between modes