Tried to add button functions and state responses on map view. Issiues accessing model variables.