Adding new constructor to gridAdapter