Some more polishing on the plugin: Now the actions are enabled
acording to the focus item