Allow enabling/disabling "Favorite" directly in the long press menu

I’d like to be able to set/unset a code as favorite directly in the long press menu, instead of long-press, then “edit”, then enable/disable “Favorite”, then “Save”.

Thanks!