When closing pin, turn it off
Merge pull request #143 from davispuh/patch-1

When closing pin, turn it off