Refactoried GraphicActivity