- added a new condition to get gitPicClicked
- debugged to work in Xcode 6 beta 7