Fix

Fixed bug app freezing cause missing "volatile"
Fixed gitignore *.sdf