Move .gitignore to project root.
Move button listener into onViewCreated.