Removed detecting changes sample from screen orientation