Display scan button only when needed #218