Reorganising imports and correcting minor bugs.
Using BaseAdapters where ArrayAdapters were used for better sync.
Added few try blocks where actions could be ran on dead objects.