Fixing the bug where selecting the description to edit it cleared the data