Cleared Code for display detail view, display different color of pins with different note_type