Fix view clearing on activity