class for preference menu, separated from class_FlatMenu