GUI solution, need to call method form main activity