Added logging fpr debugging
Made the checkbox selection stay
Added SQLite Database support
Bug fixing