In a right triangle $\triangle ABC$ with $A=90^{\circ}$ we inscribe a square which one side of it is located on hypotenuse $BC$. Prove that the line which joins vertex $A$ to the center of square is angle bisector of angle $A$.
My attempt: if we call the center of square $O$ we have to prove angle $BAO$ and the angle $CAO$ are $45^{\circ}$.