Allow resetting profile and modes
Added ability to rename modes and profiles