Fixed button interupt and improved .gitignore.