Added settings panel, set up storing and retrieving settings