Minor Changes to Code
Solved Few Warnings by Changing Deprecated Method Calls and Incompatible Method calls