add gradle modification and improved ui