Reffactoring, small bugs fixed

"Add contact" - "Edit contact" changes fixed
Test for changing panel height
Testing online version - height bug fix