1.set the footer always at the end of the body
2.update the appcache

Signed-off-by: scauwjh <scauwjh@gmail.com>