Finalisation of app