Fixed error when deleting contact (SQLite does not support JOIN in UPDATE)
Simplified database request
Cleaning in contacts panel