Refresh AppDetails header on package state change (fix #161)

Merged Romain Vimont requested to merge rom1v/fdroidclient:refresh_header_161 into master

Update the application details to display the correct state on application install/uninstall.

Should fix issue #161 (closed) #161 (closed)