change xib mode