updating button in tablet view