import button is enabled and disabled with mapping