Fixed issue that the cursor would disappear if you would fold a group but not have the first track active
Changed behaviour when inserting/changing current value

* if there is a value already we keep that keys type
* if there isn't a value we grab the key type from the previous key

Closes #71