Refactor display of uploaded layer links and display as buttons