adding handle publish to AppBar

Signed-off-by: Dylan Borg <borgdylan@hotmail.com>