Pass the main looper to the handler