make scan button enabled