Added button functionality and templates for managing contacts and gifts