Adding buttons to the popup menu