Memory safer implementation of android.os.Handler