added condition to handle empty parameter and default to accessoryBarEnabled : true