Finished database and button fnc on mapview