It's very easy to create an admin configuration page in Drupal with the help of system_settings_form(), this function adds a Save Configuration button and handle the saving of the variables, you don't have to create a submit function and do a variable_set to save your settings.