created handler in main activity