Refactor managing footer