add button code to title menu