only allow language to change to an allowed language