Modified listPictureData in DatabaseHandler