Fixed copypaste bug in project, changed start-stop logic to disconnecting gain device