in java file, tipBtnClicked()- compress if/else if, remove uneeded String