If settings already saved, show the values of it.
Added an edit option for settings.
Added an example code for turning on/off the lights using GPIO ports.