Prepare for the 1.7 release
Added gitignore
Review the logic for buttons
Review the logic for buttons (bis)