Fix for the deletion by using keyboard's shortcut