Tip calculator built in Java for Android