refreshes the sample app