Changed to support library v13 as we target Android versions 4.0+.
Additionally, added some comments to the code.