Fixed bugs #75 #170 #174 #176 #187
Removed useless code
Fixed fragment_pin.xml formatting
Changed fix for amount of presses
Merge pull request #188 from AlexKolpa/75-170-174-176-187-bug-fixes

Fixed bugs #75 #170 #174 #176 #187