set Record name + fix bug

You can now set the name befor start recording.
Fix bug: crash when you want to record after a finished record