This is how you should optimize your app costs