clean code
add function addPublishActionButtonOnLiElement