Minor code clean up

Just some minor code clean up based on the warnings outputed in Code Analysis in Android studio. :)