add the class to initial the local settings