android: moved handler to service class