I have people that do this all the time. They come into my training center with a random clicking. Talk about all the great things they have had to check. I reach down and move their sensor or magnet and it stops.
Bikes behave differently when you're on them. Move it and the clicking stops.