Fixed outlets. Issue exists with if statement with sqlite3_exec