fix bug: record then record without stop cause crash
fix bug: management UI crashes if no any device nor recorded files