Android Dev class tip calculator