Impelemented a dropdown menu to select predefined classes