change inner Handler class to static class, prevent from potential memory
leak.