Remove duplicate function call in bugnote_set_view_state.php