Modified app so it will only refresh when language is changed