SQL syntax errors corrected + notification icon added