update gradle plugin and others version
update build files
minor fixes in UIHandler
update sample code