Fix callbacks in Android plugin