changes about toggle button functionality and gitignore for idea

Changes from my utils/dark.txt repo.