Apple rises despite Q1 revenue decline