Setting the correct type of app