added .metadata to .gitignore
created button events