<Android>Integrate Perry's UI; fixed some bugs