Extract function for adding the AddNotes button to profile pages.