Added preferneces panel