Add 'if not exists' to metadata table creation to prevent errors
Fixed bug for displaying the right color in reminder list