Create a part of user interface but have a problem with context in many classes