Fixing issue where the title displayed did not match the action being performed