need to set scan button when view appears