Right click publish/unpublish functionality implemented