added back button to CustomerRepository and fixed warning message that was appearing