Removing unnecessary orientation boolean value