add gesture now works and removed some bugs from retrieve input in settings