Added fix for view map button visibility

Added fix for view map button visibility