fix phonepad issues, add appcache