Added save and get settings and implemented them in the settings form and loading