Replaced BaseAdapter by ArrayAdapter in Adapter classes.