Creating a simple tip calculator for Android