addClass method and Button Display class definition