Handling sensor selection when swiping.

Update the option menu when a sensor has been selected.