add addBackButtonFunction
create 3 button using constructor
add come comment to common functions