Add check for the button Commander in matprem_detail