Fixed an issue with lock name and status text

Fixed an issue with lock name and status text both changed when sending a message to change just one.