Added methods for list adpter and spinners