android class project: tip calculator