hide file button when remote default state is set