Denim firm The Buckle has posted improved second quarter profits despite a dip in sales during the period.