Made new class for util methods.
Changed clicklistner to xml deklaration mode.