removed unused code
implemented custom cell for mode settings
fixed cell title and switched to custom mode cell