Modification to make the code more readable.
Use of Log instead of Toast.
Adding values to the String.xml.