added more functionality to ChocoholicFirstWindow class file