Fixed matplotlib bits in the gui, made a variable to store the users
selection in sensor