Add function setTitleAction

Usefull to show a menu when click in title.