added items to database and spinner will display all the datas