Fixed edit locking for group name and card text
New locking code, fixes bugs and cleans it up