Publish / unpublished button toggle