Added callbacks to android plugin