Enable/disable paste command in the edit depend of current widget state