Added application preferences initialization