some ui changes and implementing the call back on the map