minor: gitignore and code style
take a picture button