Modified condition on starting and stopping segments

Initialised the variable defining whether or not segments are recorded
No longer starts multiple new segments when true is received multiple times on
the info topic